package cn.frontop.funswitch.common;

/**
 * @author Yun
 */
public class CommonConstant {
    public static final String TEMPORARY_DIRECTORY = System.getProperty("os.name").contains("Windows") ? "D:\\" : "/home/";
    public static final String FILE_NAME = "save.xlsx";
    public static final String APP_JSON = "application/json";
    public static final String NULL = "null";
    /**
     * 指标数据使用
     */
    public static final String COMMON = "common";
    public static final String LIST = "list";
    public static final String NAME = "name";
    public static final String DATA = "data";
    public static final String KEY = "key";
    public static final String VALUE = "value";
    public static final String JOIN = "join";
    public static final String GROUPING_BY = "groupingBy";
    public static final String CONVERSION = "conversion";
    /**
     * 黑白名单
     */
    public static final Integer BLACK_LIST = 1;
    public static final Integer WHITE_LIST = 2;
    public static final Integer GREEN_LIGHT = 0;
    /**
     * webSocket
     */
    public static final String WEB_SOCKET = "/webSocket/{path}";
    public static final String SOCKET = "/webSocket/";
    /**
     * 参数
     */
    public static final String ID = "id";
}
